package se.teamscape.client.utils;

/**
 * Utility class for name/value pairs.
 * 
 * @author Andreas Borglin
 * 
 * @param <T>
 *            Value of any type
 */
public class NameValuePair<T> {

    private String name;

    private T value;

    public NameValuePair() {
    }

    public NameValuePair(String name, T value) {
        this.name = name;
        this.value = value;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public T getValue() {
        return value;
    }

}
